package com.qq.service.impl;

import java.util.List;

import com.qq.bean.Dynamics;
import com.qq.dao.DynamicsDao;
import com.qq.dao.impl.DynamicsDaoImpl;
import com.qq.service.DynamicsService;

public class DynamicsServiceImpl implements DynamicsService {
	DynamicsDao dy = new DynamicsDaoImpl();
	@Override
	public List<Dynamics> selectMyfriendAllDynamics(String myaccount) {
		return dy.selectMyfriendAllDynamics(myaccount);
	}
	@Override
	public int insertmydy(Dynamics dynamics) {
		// TODO Auto-generated method stub
		return dy.insertmydy(dynamics);
	}

}
